package com.family.model;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;

/**
 * 关系状态
 */
public class RelationShipState implements Serializable {


    //    FATHER(200, "父亲"), MOTHER(201, "母亲"), HUSBAND(100, "丈夫"), WIFE(101, "妻子"), SON(1, "儿子"), DAUGHTER(2, "女儿");
//
    private int id;
    private int value;
    private String callName;
    private int generationDepth;
//
//    private RelationShipState(int value, String callName) {
//        this.value = value;
//    }


    public int getGenerationDepth() {
        return generationDepth;
    }

    public void setGenerationDepth(int generationDepth) {
        this.generationDepth = generationDepth;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getCallName() {
        return callName;
    }

    public void setCallName(String callName) {
        this.callName = callName;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
